package sqlTestes.tTyps.date;

import junit.framework.Assert;

import org.junit.Test;

import sql.ddl.coluna.Coluna;
import sql.ddl.coluna.types.Date;

public class TesteTipoDate {

	Coluna a = null;

	@Test
	public void a() throws Exception {
		a = new sql.ddl.coluna.types.Date("a", "NULL");
		Assert.assertEquals("a DATE NULL", a.codigoSQL());

	}

	@Test
	public void b() throws Exception {
		a = new Date("a", "NOT NULL");
		Assert.assertEquals("a DATE NOT NULL", a.codigoSQL());
	}

}
